<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <link rel="icon" type="image/x-icon" th:href="@{/img/favicon.ico}">

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>主页</title>

    <script th:src="@{/js/jquery-3.3.1.js}"></script>
    <script th:src="@{/js/popper.js}"></script>
    <script th:src="@{/js/toolkit.js}"></script>
    <script th:src="@{/js/component.js}"></script>

    <link th:href="@{/css/antd.css}" rel="stylesheet">
    <link th:href="@{/css/docs.css}" rel="stylesheet">
    <link th:href="@{/css/toolkit-light.css}" rel="stylesheet">

    <style>
        .overflow {
            overflow: hidden;
            width: 100%;
            height: auto;
        }

        .margin_top {
            margin-top: 12px;
        }

        .logo {
            width: 8%;
            height: auto;
        }

        .nav_top {
            margin-top: 5px;
            right: 1.5%;
        }

        .up {
            z-index: 10;
        }

        .top {
            top: -10px;
        }
    </style>
</head>
<body>
    <div class="m-l-md m-r-md">
        <!--导航栏-->
        <div class="text-md-left margin_top">
            <div class="row">
                <img class="logo col-md-1" th:src="@{/img/ahza-black-oj.png}">
                <ul class="nav nav-bordered col-md-10 nav_top">
                    <li class="nav-header form-inline">
                        <h1>后台</h1>
                    </li>
                    <li class="active margin_top">
                        <a href="/main">首页</a>
                    </li>
                    <li class="margin_top"><a href="/paper">试卷</a></li>
                    <li class="margin_top"><a href="/quiz">考试</a></li>
                    <li class="margin_top"><a href="/result">成绩</a></li>
                    <li class="margin_top"><a href="/logout">退出系统</a></li>
                </ul>
            </div>
        </div>
        <!--分割线-->
        <div class="row">
            <div class="ant-divider ant-divider-horizontal col-md-12">
                <h3 class="hr-divider-content hr-divider-heading"></h3>
            </div>
        </div>

        <div id="carousel-example-generic" class="carousel slide top" data-ride="carousel">
            <!-- Indicators -->
            <ol class="carousel-indicators">
                <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                <li data-target="#carousel-example-generic" data-slide-to="2"></li>
            </ol>

            <!-- Wrapper for slides -->
            <div class="carousel-inner" role="listbox">
                <div class="item active">
                    <img src="http://www.sxau.edu.cn/201805021.jpg" class="overflow" alt="...">
                    <div class="carousel-caption">
                    </div>
                </div>
                <div class="item">
                    <img src="http://www.sxau.edu.cn/20180108.jpg" class="overflow" alt="...">
                    <div class="carousel-caption">
                    </div>
                </div>
                <div class="item">
                    <img src="http://www.sxau.edu.cn/20180305.jpg" class="overflow" alt="...">
                    <div class="carousel-caption">
                    </div>
                </div>
            </div>

            <!-- Controls -->
            <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left up icon-prev" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right up icon-next" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>
        </div>
    </div>
</body>
</html>